package com.edaoe.task;

import com.edaoe.module.api.admin.ApiAdminService;

public class Task1 implements Runnable{
    private ApiAdminService apiAdminService=new ApiAdminService();

    @Override
    public void run() {
        //清理过期的授权码
        apiAdminService.clearExpiredAuthcode();
        //重建索引
        apiAdminService.rebuildIndex();
    }

}
